package org.wsff.tools.api.gateway.core.monitor;

import lombok.Data;

import java.io.Serializable;

/**
 * 统计信息基类，可扩展实现
 * 
 * @author ryan
 * @version Id: Statistics.java, v 0.1 2022-02-07 18:11 ryan Exp $$
 */
@Data
public class Statistics implements Serializable {

    private static final long serialVersionUID = 1822922719754211930L;

    /** 请求时间戳 */
    private long              reqTime;

    /** 响应时间戳 */
    private long              respTime;

    /** 服务名称 */
    private String            service;

    /** tracerId */
    private String            tracerId;

    /** 接口返回状态 */
    private Boolean           success;

    /** 消息代码  */
    private String            code;

    /** 消息内容 */
    private String            message;

}
